﻿<html>

<head>
	<title>取证分析结果</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<link rel="StyleSheet" href="newTreeView.css" type="text/css" />
<script type="text/javascript" src="JScript.js"></script>
<script type="text/javascript" src="RightMenu.js"></script>

<body>
	<div class="skin1" id="ie5menu" onMouseOver="highlightie5(event)" onMouseDown="jumptoie5(event)"
		onMouseOut="lowlightie5(event)" style="display:none ">
		<div class="menuitems" id="addNode">添加节点</div>
		<div class="menuitems" id="deleteNode">删除节点</div>
		<div class="menuitems" id="updateNode">修改节点</div>
		<hr />
		<div class="menuitems" id="expand">展开节点</div>
		<div class="menuitems" id="collapse">折叠节点</div>
		<hr />
		<div class="menuitems" id="showCurrentNodeHTML">显示节点HTML</div>
	</div>
	
	<div style="padding:5px;">
		<a href="javascript: window.top.mainFrame.focus();window.top.mainFrame.print();">打印内容</a> |
		<a href="javascript:window.print();">打印目录</a> <br />
		<a href="javascript: tree.expandAll();">全部展开</a> |
		<a href="javascript: tree.collapseAll();">全部折叠</a>
	</div>

	<table width="100%" border="0" cellspacing="0">
		<tr>
			<td valign="top">
				<div id="treeviewarea"></div>
			</td>
		</tr>
	</table>
	<script type="text/javascript">

		var tree = new MzTreeView("tree");
		tree.setIconPath("");
		tree.nodes['0_1'] = 'text:Case20200614-174552(全部/删除);url:../MainHtmls/CaseInfo.html;hint:CaseInfo.html;target:mainFrame;'
		tree.nodes['1_2'] = 'text:手机取证(36961/3674)'
		tree.nodes['2_3'] = 'text:D:\\Case\\Case20200614-174552\\MI5X(36961/3674)'
		tree.nodes['3_4'] = 'text:基本信息(2711/36)'
		tree.nodes['4_5'] = 'text:基本信息(16/0);url:../MainHtmls/1-1.html;hint:1-1.html;target:mainFrame;'
		tree.nodes['3_6'] = 'text:出行工具(16/0)'
		tree.nodes['6_7'] = 'text:百度地图(16/0)'
		tree.nodes['7_8'] = 'text:导航轨迹(3/0);url:../MainHtmls/2-1.html;hint:2-1.html;target:mainFrame;'

	</script>
	<script type="text/javascript">

		document.getElementById('treeviewarea').innerHTML = tree.toString();
		tree.expand(1);
		tree.expand(2);
		tree.focus(1);
		expandCurrentNode = function () {
			tree.expand(tree.currentNode.id);
		}
		collapseCurrentNode = function () {
			tree.collapse(tree.currentNode.id);
		}
		addLeafNode = function () {
			tree.addNode(tree.currentNode, 'text:新建节点');
		}
		deleteLeafNode = function () {
			tree.removeLeafNode(tree.currentNode);
		}
		updateNodeText = function () {
			tree.updateNodeText(tree.currentNode, '新的文本');
		}
		showNodeHTML = function () {
			alert(tree.getNodeHTML(tree.currentNode.id));
		}

	</script>
</body>

</html>